package com.lnking.lnkingplace.model.request.isolation.personnel;

import com.lnking.starter.export.annotation.TableColumn;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateInfoRequest {

    @ApiModelProperty(value = "身份证号")
    @NotNull(message = "身份证不能为空！")
    @NotBlank(message = "身份证不能为空！")
    private String idCard;

    @ApiModelProperty(value = "姓名")
    @NotNull(message = "姓名不能为空！")
    @NotBlank(message = "姓名不能为空！")
    private String name;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "来源地")
    private String source;

    @ApiModelProperty(value = "来源区域")
    private String area;

    @ApiModelProperty(value = "来源街道")
    private String street;

}
